#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include<vector>

using namespace std;

int main()
{
	vector<int> v1(10,1);
	/*v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);*/


	size_t i = 0;
	for (i = 0;i < v1.size();i++)
	{
		cout << v1[i] << " ";
	}
	cout << endl;


	//vector<int>::iterator it = v1.begin();
	auto it = v1.begin();

	while (it != v1.end())
	{
		cout << *it << " ";
		it++;
	}
	cout << endl;

	for (int e : v1)
	{
		cout << e << " ";
	}

	







	return 0;

}
